---
# tasks file for minimalserver

- name: root password
  ansible.builtin.user:
    name: root
    update_password: always
    password: "{{ root_password }}"

- name: proxy
  ansible.builtin.copy:
    src: 00proxy.conf
    dest: /etc/apt/apt.conf.d/00proxy.conf

- name: common packages
  ansible.builtin.apt:
    pkg:
    - nano
    - net-tools
    - inetutils-ping
    update_cache: true

- name: needrestart purge
  ansible.builtin.apt:
    name: needrestart
    state: absent
